package com.oa.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TNotice entity. @author MyEclipse Persistence Tools
 */

public class TNotice implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5317891424967337936L;
	private Integer noticeid;
	private String suserid;
	private String stitle;
	private String scontent;
	private Date begindate;
	private Date enddate;
	private Integer nstatus;
	private Boolean nisfile;
	private Boolean nisread;
	private Date addtime;
	private String updateuser;
	private Date updatetime;
	private Set<TNoticeFile> noticeFiles = new HashSet<TNoticeFile>();
	// Constructors

	/** default constructor */
	public TNotice() {
	}

	/** full constructor */
	public TNotice(String suserid, String stitle, String scontent,
			Date begindate, Date enddate, int nstatus, Boolean nisfile,
			Boolean nisread, Date addtime, String updateuser, Date updatetime) {
		this.suserid = suserid;
		this.stitle = stitle;
		this.scontent = scontent;
		this.begindate = begindate;
		this.enddate = enddate;
		this.nstatus = nstatus;
		this.nisfile = nisfile;
		this.nisread = nisread;
		this.addtime = addtime;
		this.updateuser = updateuser;
		this.updatetime = updatetime;
	}

	// Property accessors

	public Integer getNoticeid() {
		return this.noticeid;
	}

	public void setNoticeid(Integer noticeid) {
		this.noticeid = noticeid;
	}

	public String getSuserid() {
		return this.suserid;
	}

	public void setSuserid(String suserid) {
		this.suserid = suserid;
	}

	public String getStitle() {
		return this.stitle;
	}

	public void setStitle(String stitle) {
		this.stitle = stitle;
	}

	public String getScontent() {
		return this.scontent;
	}

	public void setScontent(String scontent) {
		this.scontent = scontent;
	}

	public Date getBegindate() {
		return this.begindate;
	}

	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}

	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

	public int getNstatus() {
		return this.nstatus;
	}

	public void setNstatus(int nstatus) {
		this.nstatus = nstatus;
	}

	public Boolean getNisfile() {
		return this.nisfile;
	}

	public void setNisfile(Boolean nisfile) {
		this.nisfile = nisfile;
	}

	public Boolean getNisread() {
		return this.nisread;
	}

	public void setNisread(Boolean nisread) {
		this.nisread = nisread;
	}

	public Date getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public String getUpdateuser() {
		return this.updateuser;
	}

	public void setUpdateuser(String updateuser) {
		this.updateuser = updateuser;
	}

	public Date getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	

	public Set<TNoticeFile> getNoticeFiles() {
		return noticeFiles;
	}

	public void setNoticeFiles(Set<TNoticeFile> noticeFiles) {
		this.noticeFiles = noticeFiles;
	}

}